package HLLib.game;

import HLCode.HLClass;
import HLCode.HLClassManager;
import HLCode.HLClassManager_H;
import HLCode.HLLibObject;

public class HLCD extends HLLibObject {
    public HLClass GetClass(HLClassManager classManager) {
        return classManager.GetLibClass(HLClassManager_H.CLASS_GROUP_TYPE_LIB_GAME, HLClassManager_H.LIB_CLASS_GAME_CD);
    }

    public int GetInt(int index) {
        switch (index) {
        case 0: {
            return mask;
        }
        case 1: {
            return x;
        }
        case 2: {
            return y;
        }
        case 3: {
            return z;
        }
        case 4: {
            return width;
        }
        case 5: {
            return height;
        }
        case 6: {
            return length;
        }
        }
        return 0;
    }

    public void SetInt(int index, int value) {
        switch (index) {
        case 0: {
            mask = value;
            return;
        }
        case 1: {
            x = (short) value;
            return;
        }
        case 2: {
            y = (short) value;
            return;
        }
        case 3: {
            z = (short) value;
            return;
        }
        case 4: {
            width = (short) value;
            return;
        }
        case 5: {
            height = (short) value;
            return;
        }
        case 6: {
            length = (short) value;
            return;
        }
        }
    }

    public int mask;

    public short x;

    public short y;

    public short z;

    public short width;

    public short height;

    public short length;
}
